<!-- /*
 * @Author: RDSunday 
 * @Date: 2020-03-15 10:49:13 
 * @Last Modified by: RDSunday
 * @Last Modified time: 2020-03-16 11:09:45
 */ -->


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="tableSearch.css" rel="stylesheet">
    
    <title>Document</title>
</head>
<body>
    <input type="text" id="myInput" onkeyup="myFunction()" placeholder="搜索。。。">
    <table id="myTable">
        <tr class="header">
            <th style="width: 60%;">名称</th>
            <th style="width: 40%;">城市</th>

        </tr>
        <tr>
            <td>Alfrends FutterKiste</td>
            <td>Germany</td>

        </tr>
        <tr>
            <td>Island Trading</td>
            <td>UK</td>

        </tr>
        <tr>
            <td>Koniglich Essen</td>
            <td>Germany</td>
        </tr>

    </table>
    <script src="tableSearch.js"></script>
</body>
</html>